
export const defaultConfig = {
    width: '100%',
    uploadAccept:/^.*(png|jpe?g|doc|docx|pdf|zip|rar|tar|PNG|JPEG|JPG)$/,
    tr: [
      {
        td:[
          {
            label: '标题',
            name: 'title',
            rule: 'required',
            ref:'input',
            required:true,
            placeholder:'最多输入50字',
            autofocus:true,
            maxlength:50
          }
        ]
      },
      {
        td:[
          {
            label: '正文',
            placeholder:'最多输入200字',
            name: 'context',
            required:true,
            rule: 'required',
            rows:6,
            type:'textarea',
            maxlength:200
          }
        ]
      },
      {
        td:[
          {
            label: '附件上传',
            name: 'fileIds',
            upload:true,
            showList:true,
            accept:'.png,.jpeg,.jpg,.doc,.docx,.pdf,.zip,.rar,.tar',
            limit:5,
            multiple:true,
            rule:'',
            listType:'text',
            span:'fmlspan2',
            size:5,
            fileList:[],
            ref:'fileIds',
            autoUpload:true
          }
        ]
      },
      {
        td:[
          {
            uploadTip:true,
            accept:'.png,.jpeg,.jpg,.doc,.docx,.pdf,.zip,.rar,.tar'
          }
        ]
      },
      {
        td:[
          {
            label: '创建人',
            name: 'releaseName',
            rule: '',
            disabled:true,
          }
        ]
      }

    ]
}
